package com.xnyzc.lhy.common.penum;

import com.xnyzc.lhy.common.entity.PEnum;


/**
 * 调度策略状态
 *
 * @Author: baoyaze
 * @Date: 2019-10-23
 */
public enum SchedulingStrategyState implements PEnum<String>
{
    ENABLED("启用"), DISABLED("停用");

    private String desc;

    SchedulingStrategyState(String desc)
    {
        this.desc = desc;
    }

    @Override
    public String getValue()
    {
        return name();
    }

    @Override
    public String toString()
    {
        return name();
    }

    @Override
    public String toChString()
    {
        return desc;
    }
}
